package com.my.jli.dao;

import com.my.jli.entity.Homework;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @ClassName HomeworkRepository
 * @Description
 * @Author MaYu
 * @Date 2022/4/6 18:59
 * @Version 1.0
 **/
public interface HomeworkRepository extends JpaRepository<Homework, Integer> {
    Page<Homework> findByTid(Integer tid, Pageable pageable);
}
